<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var a = 80
        var b = 5/9*(a-32)
        console.log(b,"摄氏度")
        console.log(a,"华氏度")



        var tem = prompt()
        var res = 5/9*(tem-32)
        var reslut = parseInt(res*1000)/1000
        console.log(reslut+"摄氏度")
        alert("窝屎嫩叠")
    </script>
</body>
</html>